package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Achievetype entity. @author MyEclipse Persistence Tools
 */

public class Achievetype implements java.io.Serializable {

	// Fields

	private long achieveTypeId;
	private String achieveTypeName;
	private Set achievements = new HashSet(0);

	// Constructors

	/** default constructor */
	public Achievetype() {
	}

	/** minimal constructor */
	public Achievetype(String achieveTypeName) {
		this.achieveTypeName = achieveTypeName;
	}

	/** full constructor */
	public Achievetype(String achieveTypeName, Set achievements) {
		this.achieveTypeName = achieveTypeName;
		this.achievements = achievements;
	}

	// Property accessors

	public long getAchieveTypeId() {
		return this.achieveTypeId;
	}

	public void setAchieveTypeId(long achieveTypeId) {
		this.achieveTypeId = achieveTypeId;
	}

	public String getAchieveTypeName() {
		return this.achieveTypeName;
	}

	public void setAchieveTypeName(String achieveTypeName) {
		this.achieveTypeName = achieveTypeName;
	}

	public Set getAchievements() {
		return this.achievements;
	}

	public void setAchievements(Set achievements) {
		this.achievements = achievements;
	}

}